﻿using System;
using System.Net;
using System.Runtime.Serialization;

namespace BusinessObjects
{
#if Silverlight
    [Serializable]
#else
    [DataContract]
#endif
    public class Herb : GameObject
    {
        [DataMember]
        public String FileName
        {
            get;
            set;
        }

        [DataMember]
        public String Name
        {
            get;
            set;
        }

        [DataMember]
        public String About
        {
            get;
            set;
        }

        public Herb()
        {
            FileName = null;
            Name = null;
            About = null;
        }

        public Herb(String filename, String name, String about)
        {
            FileName = filename;
            Name = name;
            About = about;
        }
    }
}
